package com.manage.pojo;

import java.io.Serializable;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.manage.pojo
 * @Description:
 * @Date 2022/5/27 11:39
 */
public class User implements Serializable {
    private Integer uid;//用户编号
    private String username;//用户姓名
    private String password;//用户密码(加密)
    private Integer status;//用户状态 1正常 2失效

    public User() {
    }

    public User(Integer uid, String username, String password, Integer status) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.status = status;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", status=" + status +
                '}';
    }
}
